

package com.hazelcast.transaction.impl.operations;

import com.hazelcast.spi.impl.AllowedDuringPassiveState;
import com.hazelcast.transaction.impl.TransactionLogRecord;

import java.util.Collection;
import java.util.UUID;

import static com.hazelcast.transaction.impl.TransactionDataSerializerHook.REPLICATE_ALLOWED_DURING_PASSIVE_STATE_TX_BACKUP_LOG;

public final class ReplicateAllowedDuringPassiveStateTxBackupLogOperation extends ReplicateTxBackupLogOperation implements AllowedDuringPassiveState {

    public ReplicateAllowedDuringPassiveStateTxBackupLogOperation() {
    }

    public ReplicateAllowedDuringPassiveStateTxBackupLogOperation(Collection<TransactionLogRecord> logs, UUID callerUuid, UUID txnId, long timeoutMillis, long startTime) {
        super(logs, callerUuid, txnId, timeoutMillis, startTime);
    }

    @Override
    public int getClassId() {
        return REPLICATE_ALLOWED_DURING_PASSIVE_STATE_TX_BACKUP_LOG;
    }

}
